<%@page contentType="text/html;charset=UTF-8"%>
<%@ page import="whf.framework.web.Constants"%>
<%@ page import="whf.shop.web.ext.ConfirmRowDecorator" %>

<%@taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/tlds/framework.tld" prefix="framework"%>
<%!
static ConfirmRowDecorator CONFIRM_PROPERTY_PARSER = new ConfirmRowDecorator("#FFFFFF","#EFEFFF");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><framework:attr source="STRUTS-META" attr="name" /></title>
<jsp:include page="/common/inc/select.jsp" />
</head>

<body>
<framework:msg />
<html:form action='<%=  (String)request.getAttribute(Constants.STRUTS_PATH) %>' method="post">
<html:hidden property="webMethod" value="" />
<framework:ext />
<framework:table pkStyle="checkbox_counter" navPosition="both" rowDecorator="<%= CONFIRM_PROPERTY_PARSER %>">
<framework:caption><span class="whf_object_title"><framework:attr source="STRUTS-META" attr="name" /></span></framework:caption>
</framework:table>
<framework:funcbtn operation="prepareCreate" validationFunction="" valueKey="form.create" />
<framework:funcbtn operation="prepareUpdate" validationFunction="selectionMoreThanOne" valueKey="form.update" />
<framework:funcbtn operation="duplicate" 	validationFunction="selectionMoreThanOne" valueKey="form.duplicate" />
<framework:funcbtn operation="delete" 		validationFunction="selectionMoreThanOne" valueKey="form.delete" />
<framework:funcbtn operation="activate" 	validationFunction="selectionMoreThanOne" value="Activate" />
<framework:funcbtn operation="deactivate" 	validationFunction="selectionMoreThanOne" value="Deactivate" />
<html:reset><bean:message key="form.reset" /></html:reset>
</html:form>

</body>
</html> 